jquery remove all options but first

81

jquery remove all options but first -

yourSelect.find('option').not(':first').remove();

Comments

Submit
0 Comments